package com.atguigu.spring.xml;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component

public class ValidateAspect {
//    @Pointcut("execution(* com.atguigu.spring.aop.CalculatorImpl.*(..))")
//    public void PrintCut(){}

    public void beforeMethod(){
        System.out.println("ValidateAspect-->前置通知");
    }
}
